package com.bishe.cyh.mode;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: Poppin
 * @Date: 2022/1/12 14:09
 * @Version: 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Dataji")
public class Dataji {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "oldname")
    private String oldname;
    @TableField(value = "newname")
    private String newname;
    @TableField(value = "status")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private String time;
    @TableField(value = "fileSize")
    private Integer fileSize;


}
